package com.valuegroup.smarttodo.ui.knowledge;


import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.valuegroup.smarttodo.R;

import butterknife.ButterKnife;
import butterknife.Unbinder;


/**
 * 智库-首页
 */
public class KnowledgeFragment extends Fragment {
    private static final String TAG = KnowledgeFragment.class.getSimpleName();

    private Unbinder unbinder;

    public KnowledgeFragment() {
    }

    public static KnowledgeFragment newInstance() {
        KnowledgeFragment fragment = new KnowledgeFragment();
        return fragment;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_knowledge, container, false);
        unbinder = ButterKnife.bind(this, view);

        System.out.println("KnowledgeFragment》onCreateView");

        return view;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }
}
